$OpenBSD: patch-src_core_settings_c,v 1.6 2017/06/07 21:57:46 sthen Exp $
--- src/core/settings.c.orig	Mon Jun  5 14:05:43 2017
+++ src/core/settings.c	Tue Jun  6 23:19:02 2017
@@ -718,7 +718,7 @@ static CONFIG_REC *parse_configfile(const char *fname)
 	else {
 		/* user configuration file not found, use the default one
 		   from sysconfdir */
-                path = SYSCONFDIR"/"IRSSI_GLOBAL_CONFIG;
+                path = SYSCONFDIR"/irssi/"IRSSI_GLOBAL_CONFIG;
 		if (stat(path, &statbuf) != 0) {
 			/* no configuration file in sysconfdir ..
 			   use the build-in configuration */
